﻿<!DOCTYPE html>

<html xmlns:th="http://www.thymeleaf.org">

  <body>
  
    <div th:fragment="copy">
      &copy; 2011 copy Virtual Grocery
    </div>
  
  
    <div id="copy-section">
	  &copy; 2011 copy-section Virtual Grocery
	</div>
  </body>
  
  <!-- 带参数形式 -->
	<div th:fragment="frag (onevar,twovar)">
	    <p th:text="${onevar} + ' - ' + ${twovar}">...</p>
	</div>
</html>